sGillespieOptimDirect
and sGillespieDirectCR
performs pure
stochastic simulations, sRungeKuttaDormandPrince45
a pure
deterministic integration, sHaseltineRawlings
a hybrid of the
above. Multiple runs can be performed at once. See init
for a way of defining the model that is close
to the way reactions are written.
## Exact stochastic simulation:
sGillespieOptimDirect(model, timep, delta=1, runs=1)
sGillespieDirectCR(model, timep, delta=1, runs=1)
## Pure deterministic:
sRungeKuttaDormandPrince45(model, timep, delta=1, ect = 1e-09)
## Hybrid stochastic/deterministic:
sHaseltineRawlings(model, timep, delta=1, runs=1, ect = 1e-09)
HaseltineRawlings
. Ignored otherwise.
init
, atr
## sbioPN has been tested only on 64 bits machines.
## It may fail in 32 bits architecture.
Run the code above in your browser using DataLab